/**
 * 小程序配置文件
 */
// 此处主机域名是腾讯云解决方案分配的域名
// 小程序后台服务解决方案：https://www.qcloud.com/solution/la

var host = "www.sharekq.cn"

var config = {

  // 下面的地址配合云端 Server 工作
  host,

  //pv
  pvlogUrl: `https://${host}/index/pageviewlog`,

  // 登录地址，用于建立会话
  loginUrl: `https://${host}/shareKq/oauth20/getUid2.do`,
  requerLogininfo: `https://${host}/shareKq/edu_familyinfo/queryWxOpenId.do`,
  //获取首页数据
  //团购列表
  grouplistUrl:`https://${host}/shareKq/edu_insitNewStyoe/query.do`,
  ctgrouplistUrl: `https://${host}/shareKq/edu_styoeordermain/queryMains.do`,
  groupinfoUrl: `https://${host}/shareKq/edu_styoeordermain/query.do`,
  //添加团购
  addgroupUrl: `https://${host}/shareKq/edu_styoeordermain/add.do`,
  //解散团购
  groupcancelUrl: `https://${host}/shareKq/edu_styoeordermain/updateQx.do`,
  //退款请求
  payrefund: `https://${host}/shareKq/pay/refund.do`,
  //参团
  cygroupUrl: `https://${host}/shareKq/edu_stoyepayrecord/add.do`,
  //支付下单请求
  groupPaymentUrl: `https://${host}/shareKq/Xccpay/buypay.do`,

  //我的团购
  getmygroupUrl:  `https://${host}/shareKq/edu_stoyepayrecord/query2.do`,
  getgroupdetailUrl: `https://${host}/shareKq/edu_insitNewStyoe/query.do`,
  imglistUrl: `https://${host}/shareKq/edu_insitpic/query.do`,
  edu_institUrl: `https://${host}/shareKq/edu_instit/query.do`,
  //查看拼团人员列表
  groupuserlistUrl: `https://${host}/shareKq/edu_stoyepayrecord/query.do`,
  //获取二维码
  getqrcodeUrl: `https://${host}/shareKq/oauth20/getXccQcode.do`,
  //猜你喜欢
  getlikelistUrl : `https://${host}/shareKq/edu_instit/queryInsLike.do`,
  //访问记录
  gethistoryUrl : `https://${host}/shareKq/edu_posterrecord/query2.do`,
  //粉丝消费
  getconsumeUrl : `https://${host}/shareKq/edu_posterrecord/queryConsume.do`,
};

module.exports = config
